import { request } from "@/api/request";

export function getBudgetTotal() {
    return request({
        url: 'v1/admin/countBudgetTotal',
        method: 'GET'
    })
}

// 根据赛季获取预算
export function getBudgetByEvent(sourceEventId:number){
    return request({
        url:'v1/admin/getBg',
        method:'GET',
        params:{
            sourceEventId
        }
    })
}
